@import "base.css";
@import "idangerous.swiper.css";
header{
    background:#f33;
    color:#fff;
    max-width:640px;
    min-width:320px;
    margin:0 auto;
    position: fixed;
    top:0;
    font-size:.7rem;
    z-index:99;
}

header .swiper-container{
    white-space: nowrap;
    height:1.3rem;
    width:100%;
    padding:.3rem;
}

header .swiper-slide{
    display: inline-block;
    text-align: center;
}

header .active{
    border-bottom:.1rem solid #fff;
}

.m-con{
    margin-top:1.9rem;
    background: #fff;
}
.m-con-item{
    width: 100%;
    display: none;
}
.m-con-item.active{
    display: block;
}


/***===================== list-item 开始==============================**/
.m-con .m-list:last-child{
    border-color: transparent;
}

.m-list{
    width:100%;
    border-bottom:.1rem solid #f6f6f6;
    clear: both;
}

.m-list a{
    color: #404040;
}

.m-list .m-list-img{
    float: left;
    width: 27%;
    overflow: hidden;
    position: relative;
    /*margin-right: .2rem;*/
    padding:.2rem;
}

.m-list .m-list-img img{
    width:5rem;
    height:2.8rem;
    padding: .3rem 0;
}
.m-article{
    padding: .3rem 0;
    text-align: left;
}

.m-article .m-article-title{
    font-size:.7rem;
}
/** 超过两行显示省略号**/
.m-article .m-article-title span{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height:2rem;

}
.m-article-info{
    display: flex;
    margin-top:.2rem;
}

.m-article-info div{
    flex:1;
    padding:.1rem;
    font-size:.6rem;
    color:#898989;
}

.m-article-counts{
    text-align: right;
    margin-right:.4rem;

}

.m-article-counts .iconfont{
    background-image: url(http://mat1.gtimg.com/www/mobi/image/icon_v2.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    -webkit-background-size: 119px 21px;
    -moz-background-size: 119px 21px;
    -o-background-size: 119px 21px;
    background-size: 119px 21px;
    width: 11px;
    height: 10px;
    display: inline-block;
    background-position: -84px 0;
    margin-right: 3px;
}
/***===================== list-item 结束==============================**/

@media only screen and (min-width: 1024px) {
    header{
        width:640px;
    }
    .m-list .m-list-img{
        height:3.8rem;
    }
}



